package tmc

import (
	"github.com/bububa/opentaobao/core"
	"github.com/bububa/opentaobao/model/tmc"
)

// TaobaoIstoreGiftingMessageGet gifting消息获取
// taobao.istore.gifting.message.get
//
// 该api通过参数查询对应的gifting消息
func TaobaoIstoreGiftingMessageGet(clt *core.SDKClient, req *tmc.TaobaoIstoreGiftingMessageGetAPIRequest, session string) (*tmc.TaobaoIstoreGiftingMessageGetAPIResponse, error) {
	var resp tmc.TaobaoIstoreGiftingMessageGetAPIResponse
	err := clt.Post(req, &resp, session)
	if err != nil {
		return nil, err
	}
	return &resp, nil
}
